/* Reset */
div.shailan-dropdown-menu table, div.shailan-dropdown-menu tbody, div.shailan-dropdown-menu tr, div.shailan-dropdown-menu td, div.shailan-dropdown-menu ul, div.shailan-dropdown-menu li, div.dropdown-horizontal-container, ul.dropdown *, ul.menu * { margin:0; padding:0; border:0; }  

.shailan-dropdown-menu, .widget_nav_menu { position:relative; z-index:597; }

/* .dropdown-horizontal-container{ width:100%; } */
/* Remove list styling */
ul.dropdown, ul.dropdown li, ul.dropdown ul, ul.menu, ul.menu li, ul.menu ul { list-style: none; margin: 0; padding: 0; }

/* Z-index */
ul.dropdown li, ul.menu li{ position: relative; }
ul.dropdown li ul, ul.menu li ul { position:absolute; z-index: 598; } 
ul.dropdown li.hover, ul.dropdown li:hover,
ul.menu li.hover, ul.menu li:hover{ cursor: default; } 

/* Top level */
ul.dropdown li, ul.menu li { display:inline; vertical-align: middle; zoom:1; line-height:28px; }
ul.dropdown > li, ul.menu > li { float:left; }
ul.dropdown li a, ul.menu li a{ padding: .3em .8em; white-space:nowrap; }

/* Sub levels */
ul.dropdown ul, ul.menu ul { position: absolute; top: 100%; left: 0; }
ul.dropdown ul li, ul.menu ul li { float: none; display: list-item; list-style: none; }

ul.dropdown ul ul, ul.menu ul ul { top: 1px; left: 99%; }
ul.dropdown a:active, ul.dropdown a:focus, ul.menu a:active, ul.menu a:focus { outline-style:none; }

* html ul.dropdown li, * html ul.menu li { height: 1px; }

/* IE Submenu margin fix */
ul.dropdown ul li, ul.dropdown-vertical { margin-left: -16px; mar\gin-left: 0; }

/* Hide submenus */
ul.dropdown ul, ul.dropdown li.hover ul ul, ul.dropdown li.hover ul ul ul, ul.dropdown li.hover ul ul ul ul, ul.dropdown li.hover ul ul ul ul ul, ul.dropdown ul, ul.dropdown li:hover ul ul, ul.dropdown li:hover ul ul ul, ul.dropdown li:hover ul ul ul ul, ul.dropdown li:hover ul ul ul ul ul, ul.menu ul, ul.menu li.hover ul ul, ul.menu li.hover ul ul ul, ul.menu li.hover ul ul ul ul, ul.menu li.hover ul ul ul ul ul, ul.menu ul, ul.menu li:hover ul ul, ul.menu li:hover ul ul ul, ul.menu li:hover ul ul ul ul, ul.menu li:hover ul ul ul ul ul { display: none; }

ul.dropdown ul ul ul ul ul ul { display: none !important; }

/* Alignment support */
.dm-align-right table{ float:right; }
.dm-align-left table{ float:left; }
ul.dropdown-horizontal.dropdown-align-right ul { right: 0; left: auto; }
ul.dropdown-horizontal.dropdown-align-right ul ul{ right: 99%; left: auto; }

/* Vertical menu support */ 
ul.dropdown-vertical.dropdown-align-left ul { top: 1px; left: 99%; right:auto; }
ul.dropdown-vertical.dropdown-align-right ul { top: 1px; right: 99%; left:auto; }
ul.dropdown-vertical li { float: none; display:block; }

/* Clearfix */
.clearfix:after, .widget_nav_menu:after { clear: both; content: "."; display: block; height: 0; visibility: hidden; }
* html > body .clearfix, * html > body .widget_nav_menu { display: block; width: 100%; }
* html .clearfix, * html .widget_nav_menu { height: 1%; }

/* Cursor fix */
ul.dropdown li a{ cursor:pointer; }